package com.example.medicalrecord.AggregationModule.administrator.service;

import com.example.medicalrecord.AggregationModule.administrator.pojo.dto.AdminDoctorAddParam;
import com.example.medicalrecord.AggregationModule.administrator.pojo.dto.AdminDoctorQuery;
import com.example.medicalrecord.AggregationModule.administrator.pojo.dto.AdministratorParam;
import com.example.medicalrecord.AggregationModule.administrator.pojo.dto.AdministratorQuery;
import com.example.medicalrecord.AggregationModule.administrator.pojo.vo.AdminDoctorVO;
import com.example.medicalrecord.base.response.PageData;

import java.util.List;

public interface AdministratorService {
    /*查询管理员数据*/
    PageData selectAdmin(AdministratorQuery administratorQuery);
    /*添加管理员数据*/
    void saveAdmin(AdministratorParam administratorParam);
    /*删除管理员数据*/
    void deleteAdmin(Long id);

    /*查询医生数据*/
    List<AdminDoctorVO> selectDoctor(AdminDoctorQuery adminDoctorQuery);
    /*插入医生数据*/
    void addDoctor(AdminDoctorAddParam adminDoctorAddParam);
    /*更新医生数据*/
    void updateStatus(Long doctorId, String expert);
    /*医生账号密码重置*/
    void resetPassword(Long doctorId);
    /*删除医生账号*/
    void deleteDoctor(Long doctorId);
}
